<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;
use think\model\relation\HasMany;

/**
 * @mixin \think\Model
 */
class Specs extends Model
{
    public function spec()
    {
        return $this->hasMany(SpecsValue::class,'specs_id','id');
    }
}
